#ifndef _TEXTURE_FACTORY_H_
#define _TEXTURE_FACTORY_H_


#include "..\Figure\Figure.h"
#include "..\Texture\Texture.h"
#include "..\Parser\MapList.h"
#include "..\Exceptions\InvalidTextureException.h"
#include "..\Exceptions\ImagePathNotFoundException.h"

class TextureFactory{

	public:
		
		static TextureFactory* getInstance();

		Texture * getTexture(MapList* parameters) throw (InvalidTextureException);

		~TextureFactory();

		static void destroy();
	
	private:

		static TextureFactory* instance;

		TextureFactory();

};

#endif